package tracksuite.integration.reportofservice;

import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import tracksuite.integration.GenericTO;

@Entity
@Table(name = "REPORT_OF_SERVICE")
public class ReportOfServiceTO extends GenericTO {

	private static final long serialVersionUID = 1L;
	
	@Column(name = "TITLE") private String title;
	@Column(name = "DESCRIPTION") private String description;
	@Column(name = "DATE_INSERT") private Timestamp dateInsert;
	@Column(name = "DATE_UPDATE") private Timestamp dateUpdate;

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Timestamp getDateInsert() {
		return dateInsert;
	}

	public void setDateInsert(Timestamp dateInsert) {
		this.dateInsert = dateInsert;
	}

	public Timestamp getDateUpdate() {
		return dateUpdate;
	}

	public void setDateUpdate(Timestamp dateUpdate) {
		this.dateUpdate = dateUpdate;
	}

	@Override
	public String toString() {
		return "ReportOfService: " + getId() + ", " + getTitle();
	}

}
